﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;//引用

namespace E_Commerce.Domain.Entities
{
    /// <summary>
    /// 商品规格表
    /// </summary>
    [Table("Specification")]
   public class Specification
    {
        [Key]
        public int SpeciId { get; set; }
        [StringLength(50)]
        public string Size { get; set; }
        [StringLength(50)]
        public string Color { get; set; }
        [StringLength(50)]
        public string Brand { get; set; }
    }
}
